@import '@/app/styles/variables';

.block {
  background-color: #f5f5f5;
}

.descr {
  margin-top: 15px;
  margin-bottom: 34px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;

  &:last-child {
    display: none;
  }
}

.img {
  width: 80px;
  height: 80px;
  background-image: url('../../images/articles-border.svg');
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;

  & > img {
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 100%;
  }
}

@include media-min(sm) {
  .img {
    width: 95px;
    height: 95px;
  }

  .descr {
    margin-top: 20px;
    margin-bottom: 40px;
  }
}

@include media-min(md) {
  .item:last-child {
    display: initial;
  }

  .img {
    width: 100px;
    height: 100px;
  }
}
